package xyz.liut.ee.req

data class ReqBean(
    var RequestURL: String? = null,
    var Method: String? = null,
    var Protocol: String? = null,
    var ServerPort: String? = null,
    var QueryString: String? = null,

    // TODO auth 相关
    var authType: String? = null,
    var remoteUser: String? = null,
    var userPrincipal: String? = null,

    var headers: Map<String, String>? = null,
    var body: String? = null,

    var parts: List<PartBean>? = null
) {

    data class PartBean(
        var Name: String? = null,
        var ContentType: String? = null,
        var SubmittedFileName: String? = null,
        var Size: String? = null,

        var headers: Map<String, String>? = null
    )

}
